package com.meatball.dji.common.mqtt.handler.request.data.dto

import com.alibaba.fastjson2.annotation.JSONField

/**
 * TODO 查询设备绑定对应的组织信息请求参数
 *
 * @see com.meatball.dji.common.mqtt.data.model.ConfigModel
 */
data class OrganizationGetParams(
    val tid: String,
    val bid: String,
    val timestamp: Long = System.currentTimeMillis(),
    val gateway: String,
    val method: String,
    val data: Data
) {
    /**
     * TODO 数据类
     *
     * @property deviceBindingCode 设备绑定码
     * @property organizationId 组织id
     */
    data class Data(
        @field:JSONField(name = "device_binding_code")
        val deviceBindingCode: String,
        @field:JSONField(name = "organization_id")
        val organizationId: Long
    )
}
